Summary: Allow "light dismissing" dialogs by enabling the "closedby" attribute
Standards Body: HTML WG
Platform coverage: All
Preference: dom.dialog.light_dismiss.enabled
Devtools bug: N/A
Other browsers:
Gecko-only tests were introduced: N/A
I intend to enable this in nightly very shortly, to then subsequently enable by default. Barring any issues that block this during the nightly period, I intend to ship this in 140 - meaning roughly 20 days of nightly review. The implementation is complete and passing all WPTs.
While this feature is, on the surface, tightly integrated with CloseWatchers, I do _not_ intend to ship CloseWatchers just yet. Right now we have some non-standard code which allows us to seamlessly integrate closedby without CloseWatchers. I believe developers would get greater value from us shipping closedby ASAP, rather than waiting for CloseWatchers to also ship, however I understand if people have concerns and would like these to ship in tandem, so let me know if that's the case.
If anyone has any concerns please let me know!
Happy browsing.